package cn.iocoder.yudao.module.pay.channel.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 支付渠道
 *
 * @author 山野羡民
 */
@Data
public class PayChannelVO extends BaseVO {

    @Schema(description = "支付类型，如：wallet-钱包、wxv3-微信支付APIv3", requiredMode = Schema.RequiredMode.REQUIRED, example = "wxv3")
    private String type;

    @Schema(description = "渠道编码，如：wallet-钱包支付、wx_lite-微信小程序支付", requiredMode = Schema.RequiredMode.REQUIRED, example = "wx_lite")
    private String code;

    @Schema(description = "配置信息，JSON格式")
    private String config;

    @Schema(description = "是否启用", example = "true")
    private Boolean enabled;

    @Schema(description = "排序", example = "1")
    private Integer sort;

}
